package cn.gcjxsc.repository.salesaman;

import cn.gcjxsc.entity.salesman.SalesmanAccount;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SalesmanAccountRepository extends JpaRepository<SalesmanAccount, Integer> {

    List<SalesmanAccount> findByMemberId(Integer memberId);

    SalesmanAccount findBySalesmanId(Integer salesmanId);
}
